package com.bosssoft.boss_exam_web;

import com.bosssoft.boss_exam_db.entity.Admin;
import com.bosssoft.boss_exam_core.util.common.ReflectUtil;
import org.junit.Test;

import java.util.HashMap;

public class SimpleTesty {
//    测试
    @Test
    public void test03(){
        Admin admin = new Admin();
        admin.setId("idid");
        admin.setPassword("papa");
        admin.setAvatar("touxiang");
        HashMap<String, Object> objectObjectHashMap = new HashMap<>();
        objectObjectHashMap.put("Password","");
        ReflectUtil.shileldingFiled(admin,objectObjectHashMap);
        System.out.println(admin);
    }

}
